﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Test_for_IExecutable
{
    class Program
    {
        static void Main(string[] args)
        {
            Class1 cl1 =new Class1();
            Class2 cl2 = new Class2();

            List<IExecutable> list = new List<IExecutable> () ;
            list.Add(cl1);
            list.Add(cl2);

            TaskManager tm = new TaskManager(list);

            tm.Run();


        }
    }
}
